package cn.sciento.farm.devicemanager.service;

import cn.sciento.farm.devicemanager.dao.entity.DevFertilizerChannel;

import java.util.List;

/**
 * <p>
 * 水肥通道管理 服务类
 * </p>
 *
 * @author wumu
 * @since 2019-05-14
 */
public interface FertilizerChannelService {

    DevFertilizerChannel getById(Long id);

    int insert(DevFertilizerChannel channel);

    List<DevFertilizerChannel> getChannelList(String eui);

    DevFertilizerChannel getChannel(String eui, Integer channelNo);

    int updateById(DevFertilizerChannel channel);
}
